/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.stack-edit-button-group {
  display: flex;
}

.stack-edit-right-side-buttons {
  opacity: 0;
}

.stack-edit-subtree {
  position: relative;
}

.stack-edit-subtree .commit {
  background: var(--background);
  margin-bottom: var(--pad);
  cursor: default;
}

.commit-reorder-preview {
  opacity: 0.5;
}

.stack-edit-subtree .commit:hover .stack-edit-right-side-buttons {
  opacity: 1;
}

.drag-handle {
  cursor: grab;
  display: flex;
  padding: var(--button-icon-padding);
  touch-action: none;
}
